package com.example.mycarcalling.service;

import com.example.mycarcalling.bean.Navigation;
import com.example.mycarcalling.vo.Address;
import com.example.mycarcalling.vo.OrderWithNav;

import java.util.List;

public interface NavigationService {

    Long sendingNavigation(Navigation navigation);

    Navigation getNotFinishNavigation(Long publishingUser);

    List<Navigation> getLimitThreeNavigation(Address address,Integer passengerNumberPermit);

    List<OrderWithNav> getDriverAllOrderNav(Long driverId);

    List<OrderWithNav> getPassengerAllOrderNav(Long passengerId);

    Navigation getLastNavigation(Long lastNvId);
}
